//
// Created by wujehy on 2020/7/29.
//

#include <iostream>
#include "NetworkWarpper.h"
int main(){

    NetworkWarpper networkWarpper(2);
    handy::Signal::signal(SIGTERM, [&] { networkWarpper.stop(); });

    networkWarpper.init();
    networkWarpper.loop();
    return 0;
}